how to find scalar and vector projections